﻿@{
    ViewBag.Title = "Published";
    Layout = "~/Views/Shared/_StandardLayout.cshtml";
}
@using SweetSurvey.Extentions;

<h2>Published Successfully!</h2>

Survey link:<br />
@{ string link = Url.ActionFullPath("FillOut", "Survey", new { id = ViewBag.SurveyId }); }
<a href="@link" target="_blank">@link</a>

<p>
    Now you can distribute this link to the world.<br />
    By accessing this link, anyone can take part in this survey.
</p>